<?php
    $connect = mysql_connect($__config['db_server'], $__config['db_user'], $__config['db_passwd']);
    
    if (!$connect) die ('can not connect to database');
    
    mysql_select_db($__config['db_name']);
?>
